// samsting : this file is auto create.

#include "Oms/2015-02-12/GetUserDataRequest.h"

namespace aliyun { namespace Oms {

GetUserDataRequest::GetUserDataRequest() : RpcAcsRequest("Oms", "2015-02-12", "GetUserData") {
}

int64 GetUserDataRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void GetUserDataRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& GetUserDataRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void GetUserDataRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& GetUserDataRequest::GetProductName(void) const {
  return ProductName_;
}
void GetUserDataRequest::SetProductName(const string& ProductName) {
  ProductName_ = ProductName;
  PutQueryParameter("ProductName", ProductName_);
}

const string& GetUserDataRequest::GetDataType(void) const {
  return DataType_;
}
void GetUserDataRequest::SetDataType(const string& DataType) {
  DataType_ = DataType;
  PutQueryParameter("DataType", DataType_);
}

const string& GetUserDataRequest::GetStartTime(void) const {
  return StartTime_;
}
void GetUserDataRequest::SetStartTime(const string& StartTime) {
  StartTime_ = StartTime;
  PutQueryParameter("StartTime", StartTime_);
}

const string& GetUserDataRequest::GetEndTime(void) const {
  return EndTime_;
}
void GetUserDataRequest::SetEndTime(const string& EndTime) {
  EndTime_ = EndTime;
  PutQueryParameter("EndTime", EndTime_);
}

const string& GetUserDataRequest::GetNextToken(void) const {
  return NextToken_;
}
void GetUserDataRequest::SetNextToken(const string& NextToken) {
  NextToken_ = NextToken;
  PutQueryParameter("NextToken", NextToken_);
}

int GetUserDataRequest::GetMaxResult(void) const {
  return MaxResult_;
}
bool GetUserDataRequest::SetMaxResult(int MaxResult) {
  if(MaxResult < 1) {
    return false;
  }
  if(MaxResult > 200) {
    return false;
  }
  MaxResult_ = MaxResult;
  PutQueryParameter("MaxResult", string_ValueOfInt(MaxResult_));
  return true;
}


} } // namespace aliyun { namespace Oms {

// end of file 
